#include "mylabel.h"

#include <QMouseEvent>



MyLabel::MyLabel(QWidget *parent):QLabel(parent)
{

}

void MyLabel::mousePressEvent(QMouseEvent *e)
{
    if(e->button() == Qt::LeftButton)
        emit clicked();

    QLabel::mousePressEvent(e);
}
